FROM bitnami/java:21
WORKDIR /app
COPY ./ruoyi-auth/ruoyi-auth/target/ruoyi-auth.jar /app/
COPY ./ruoyi-auth/ruoyi-auth/src/main/resources/*.yml /app/config/
CMD ["java","-jar","ruoyi-auth.jar","--spring.config.location=config/"]